<?php
    // +----------------------------------------------------------------------
    // | ThinkPHP [ WE CAN DO IT JUST THINK ]
    // +----------------------------------------------------------------------
    // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
    // +----------------------------------------------------------------------
    // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
    // +----------------------------------------------------------------------
    // | Author: liu21st <liu21st@gmail.com>
    // +----------------------------------------------------------------------
    
    
    return [
        'log' => [
            // 日志记录方式，支持 file socket
            'type' => 'File',
            // 日志保存目录
            'path' => '/mnt'.dirname($_SERVER['SCRIPT_FILENAME']).'/'.dirname($_SERVER['SCRIPT_NAME']).'msg/',
            'LOG_RECORD_LEVEL'  => ['error','notice' ],
        ],
    
        /*
         *redis配置
         */
        'redis'=>[
            //'host'       => '115.182.49.78',
            'host'       =>'r-m5ef99b45ce76dc4.redis.rds.aliyuncs.com',
            'port'       => 6379,
            'password'   => 'TishJr622NgRes',
            'select'     => 0,
            'timeout'    => 300,
            'expire'     => 0,
            'persistent' => true,
            'prefix'     => 'Redis_',
        ],

    
    ];